package com.zlc.big_event.service;

import com.zlc.big_event.pojo.Article;
import com.zlc.big_event.pojo.PageBean;
import org.springframework.stereotype.Service;

@Service
public interface ArticleService {
    //发布文章
    void add(Article article);

    //文章列表
    PageBean<Article> list(Integer pageNum, Integer pageSize, String categoryId, String state);

    //更新文章
    void update(Article article);

    //id查询文章
    Article FindById(Integer id);


    //删除文章
    void delete(Integer id);
}
